package com.bjpowernode.boss.convert;

import com.bjpowernode.boss.domain.UserPayInfo;
import com.bjpowernode.boss.mvc.model.vo.UserPayInfoVo;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * 用户支付信息 转换接口
 */
@Mapper(componentModel = "spring")
public interface UserPayInfoConvert {

    // list<userpayInfo>  ---->  list<userpayinfoVo>
    List<UserPayInfoVo> toConvertUserPayInfoVoList(List<UserPayInfo> userPayInfoList);

    // userpayinfo ---->  userpayinfoVo
    UserPayInfoVo toConvertUserPayInfoVo(UserPayInfo userPayInfo);

}
